package com.sleepless.my.service;

import com.sleepless.my.io.request.User.LoginReq;
import com.sleepless.my.io.request.User.RegisterReq;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.UUID;

public interface UserService {
    void login(LoginReq req, HttpServletRequest request, HttpServletResponse response) throws IOException;

    Object register(RegisterReq req);

    Object getUserInfo(UUID uuid);

    Object updateUserAvatar(UUID uuid, MultipartFile avatar);
}
